Several features involve the use of Aliases, a Macintosh System 7 enhancement. CMaster supports both styles of aliases, absolute and relative. CMaster stores the aliases in the THINK project file, so they can move along with the project from machine to machine (therfore, we recommend backing up your project files before creating aliases.) The relative style lets you locate files having the same relative position to the project file on say a work and home machine without requiring the name or ancestry of the folder containing the project file, or the volume name, be the same. CMaster lets you define, change, show, and delete the alias information for all features which use them. See the C or CMaster menu sections.
Alias PreCompiled Source File
If you use a custom precompiled header file, THINK provides no easy way for you to find and edit that file; use this feature to define an alias to that file.
Alias Resource File
Normally, THINK opens the project resource file with read/write permissions when you Build or Run a project. It requires that the resource file be named the same as the project with ‘.rsrc’ appended. If you have several projects using the same resource file, you can use up disk space unnecessarily and incur an administrative headache as well.
CMaster’s alias feature provides three key enhancements to help here; first, you need only one resource file, and you can name it as you like and store it where you want. Secondly, when you Build a target file, you can have the resource file open in a resource editor, since CMaster overrides THINK and opens the file read-only. Thirdly, when you Run a project, CMaster patches the project file such that the aliased file substitutes for the standard proj.π.rsrc file, which also opens read-only—the advantage being that no matter what your code does, it can’t AddResource or ChangeResource anything in the aliased file by mistake.
Alias Target File
When you Build a target file, THINK normally prompts you for a file (the target) which you select from a Standard File dialog. If you use Build often, constantly reselecting the target file becomes a real chore. This CMaster feature lets you define a target file once, along with the Merge and SmartLink options (as appropriate for the project type.) If you need to bypass CMaster’s alias, you can either press and hold down option when selecting the Build menu, or at the end of the build as the Standard Save File dialog appears.
Alias ‘vers’ File
If you include several resource files, or Rez files, in the project and let THINK build your project.π.rsrc file for you, then you have no easy way to get to the file containing your ‘vers’ resource. This feature lets you alias that file so that you can easily use CMaster’s ‘vers’ resource editor to open and edit it.